﻿using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;

namespace TimeSpan.CustomControls.Controls;

public class IconRadioButton : RadioButton {
    public static readonly DependencyProperty SVG_DrawingProperty =
        DependencyProperty.Register("SVG_Drawing", typeof(Drawing), typeof(IconRadioButton), new PropertyMetadata(null));

    public Drawing SVG_Drawing {
        get { return (Drawing)GetValue(SVG_DrawingProperty); }
        set { SetValue(SVG_DrawingProperty, value); }
    }

    public static readonly DependencyProperty ShowTextProperty =
        DependencyProperty.Register("ShowText", typeof(string), typeof(IconRadioButton), new PropertyMetadata(null));

    public string ShowText {
        get { return (string)GetValue(ShowTextProperty); }
        set { SetValue(ShowTextProperty, value); }
    }
}